<%--
  Created by IntelliJ IDEA.
  User: Rainboz
  Date: 2019/10/24
  Time: 14:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>图片上传</title>
    <link rel="stylesheet" href="${APP_PATH}/static/bootstrap/css/bootstrap.min.css">
    <style>
        .up_form {
            text-align: center;
        }
    </style>
</head>
<body>
<h2>图片上传</h2>
<form hidden action="save/saveImg" method="post" enctype="multipart/form-data">
    图片:<input type="file" name="upload"/><br/>
    <input type="submit" value="提交"/>
</form>
<hr>
<form hidden action="save/savePhoto" method="post" enctype="multipart/form-data">
    图片:<input type="file" name="file"/><br/>
    <input type="submit" value="提交"/>
</form>
<hr>

<div class="up_form">
    <form action="save/upjava" method="post" enctype="multipart/form-data">
        <label for="file" class="btn btn-info">图片:</label>
        <input id="file" type="file" name="file_adimg"/><br/>
        <input type="submit" value="提交"/>
    </form>
</div>

<footer></footer>
</body>
</html>
